package com.yjd.comm.open.model;

import com.yjd.comm.base.model.Model;


/**
 * <b>description</b>：App数据包实体bean<br>
 * <b>time</b>：2015-3-13上午11:32:16 <br>
 * <b>author</b>： SongJian
 */
public class AppPackageModel extends Model {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 数据包编号，主键，自动增长
	 */
	private Long id;
	/**
	 * 设备类型(移动端操作系统类型)
	 */
	private String device_type;
	
	/**
	 * 数据包名称
	 */
	private String apppackage_name;
	
	/**
	 * APP版本(默认1.0)
	 */
	private Double app_version;
	
	/**
	 * 数据包存放类型, 0表示存放在本地,1表示存放在网络
	 */
	private Integer apppackage_url_type;
	
	/**
	 * 数据包存放地址
	 */
	private String apppackage_url;
	
	/**
	 * 数据包大小,存储的是字节数,数据库使用int(10)存储
	 */
	private Long apppackage_size;
	/**
	 * 数据包当前状态码,0表示正常,1表示当前数据包在锁定状态无法下载使用,2数据包正在更新无法下载使用
	 * 查询数据库时,默认附加 status=0
	 */
	private Integer status;
	
	/**
	 * 当前数据包更新说明
	 * 可以在后台自定义更新说明内容
	 */
	private String update_msg;
	/**
	 * 数据包添加时间
	 */
	private Long add_time;
	/**
	 * 数据包更新时间
	 */
	private Long update_time;
	
	/**
	 * 是否需要强制更新  0 否  1 是
	 */
	private Integer isUpdateFlag;
	
	
	private String addtimeShow;
	
	private String uptimeShow;
	
	
	
	
	
	public Integer getIsUpdateFlag() {
		return isUpdateFlag;
	}
	public void setIsUpdateFlag(Integer isUpdateFlag) {
		this.isUpdateFlag = isUpdateFlag;
	}
	public String getAddtimeShow() {
		return addtimeShow;
	}
	public void setAddtimeShow(String addtimeShow) {
		this.addtimeShow = addtimeShow;
	}
	public String getUptimeShow() {
		return uptimeShow;
	}
	public void setUptimeShow(String uptimeShow) {
		this.uptimeShow = uptimeShow;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getDevice_type() {
		return device_type;
	}
	public void setDevice_type(String device_type) {
		this.device_type = device_type;
	}
	public String getApppackage_name() {
		return apppackage_name;
	}
	public void setApppackage_name(String apppackage_name) {
		this.apppackage_name = apppackage_name;
	}
	public Double getApp_version() {
		return app_version;
	}
	public void setApp_version(Double app_version) {
		this.app_version = app_version;
	}
	public Integer getApppackage_url_type() {
		return apppackage_url_type;
	}
	public void setApppackage_url_type(Integer apppackage_url_type) {
		this.apppackage_url_type = apppackage_url_type;
	}
	public String getApppackage_url() {
		return apppackage_url;
	}
	public void setApppackage_url(String apppackage_url) {
		this.apppackage_url = apppackage_url;
	}
	public Long getApppackage_size() {
		return apppackage_size;
	}
	public void setApppackage_size(Long apppackage_size) {
		this.apppackage_size = apppackage_size;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getUpdate_msg() {
		return update_msg;
	}
	public void setUpdate_msg(String update_msg) {
		this.update_msg = update_msg;
	}
	public Long getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Long add_time) {
		this.add_time = add_time;
	}
	public Long getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Long update_time) {
		this.update_time = update_time;
	}
	
	
	
}
